"use strict"

var uli = document.querySelectorAll(".uli");
var tag = document.querySelectorAll(".tag");
var about = document.querySelector(".about_wrap");
var cont_page = document.querySelector(".content");
var about_page = document.querySelector(".gimc_cont");
function cont_check(){
	about.addEventListener("click",function(){
		cont_page.style.display = "none";
		about_page.style.display = "block";
	})
}


function tag_check(){
	for(let i=0;i<uli.length;i++){
		uli[i].addEventListener("click",function(){
			for(let j=0;j<tag.length;j++){
				tag[j].style.display = "none";
				uli[j].classList.remove("active");
			}
			tag[i].style.display = "block";
			uli[i].classList.add("active");
		})
	}
}
cont_check();
tag_check();
